package com.dcivision.dms.client.parser;



// Imports
import java.util.Hashtable;

public abstract interface IndexParser extends org.xml.sax.XMLReader {
  /*The dms.conf properties */
  public static final String URL = "URL";
  public static final String LOGIN_NAME = "loginName";
  public static final String LOGIN_PASSWORD = "loginPwd";
  public static final String INTERVAL = "interval";
  public static final String UPLOAD_INTERVAL = "upload.interval";
  public static final String MULTIPLE_INSTANCE = "multipleInstance";
  public static final String SCAN_METHOD = "scan.method";
  public static final String SCAN_UPLOAD_FILE_EXTEN = "scan.uploadFileExten";
  public static final String SCAN_UPLOAD_FILE_INDEX_EXTEN = "scan.uploadFileIndexExten";
  public static final String SCAN_DOCUMENT_INDEX_EXTEN = "scan.documentIndexExten";
  public static final String SCAN_FULL_TEXT_ENABLE = "scan.fullTextEnable";
  public static final String SCAN_FULL_TEXT_EXTEN = "scan.fullTextExten";
  public static final String SOURCE_DIR = "dir.source"; //For multiple locations; will be like dir.source.0, dir.source.1, etc
  public static final String OCR_SOURCE_DIR = "ocr.source";
  public static final String OCR_DESTINATION_DIR = "ocr.destination";
  public static final String OCR_INDEX_TEMPLATE = "ocr.indexTemplate";
  public static final String BACKUP_DIR = "dir.backup";
  public static final String ERROR_DIR = "dir.error";
  public static final String LOG_DIR = "dir.log";

  public static final String DMS_ROOT_ID = "dms.rootID";
  public static final String DMS_PARENT_ID = "dms.parentID";
  public static final String DMS_DOCUMENT_TYPE = "dms.documentType";

  public static final String XML_INDEX_FILE_PATH = "XML_INDEX_FILE_PATH";
  public static final String XML_INDEX_FILENAME = "XML_INDEX_FILENAME";
  public static final String UPLOAD_FILE_PATH = "UPLOAD_FILE_PATH";
  public static final String UPLOAD_FILE_FILENAME = "UPLOAD_FILE_FILENAME";
  public static final String OLD_INDEX_FILE_PATH = "OLD_INDEX_FILE_PATH";
  public static final String FULL_TEXT = "FULL_TEXT";
  public static final String FULL_TEXT_FILE_PATH = "FULL_TEXT_FILE_PATH";
  public static final String FIELD_NO_UDF="dms.field.noUDF";
  public static final String FIELD_REFERENCE_NO = "dms.field.referenceNo";
  public static final String FIELD_DESCRIPTION = "dms.field.description";
  public static final String FIELD_USER_DEF_1 = "dms.field.userDef1";
  public static final String FIELD_USER_DEF_2 = "dms.field.userDef2";
  public static final String FIELD_USER_DEF_3 = "dms.field.userDef3";
  public static final String FIELD_USER_DEF_4 = "dms.field.userDef4";
  public static final String FIELD_USER_DEF_5 = "dms.field.userDef5";
  public static final String FIELD_USER_DEF_6 = "dms.field.userDef6";
  public static final String FIELD_USER_DEF_7 = "dms.field.userDef7";
  public static final String FIELD_USER_DEF_8 = "dms.field.userDef8";
  public static final String FIELD_USER_DEF_9 = "dms.field.userDef9";
  public static final String FIELD_USER_DEF_10 = "dms.field.userDef10";
  public static final String ANY_FILE_TYPE = ".*";
  public static final String SUPPORT_FOLDER_STRUCTURE="support.folder.structure";
  public static final String ENABLE_SIGNATURE_UPLOAD="scan.signatureEnable";
  public static final String SIGNATURE_PATH = "SIGNATURE_PATH";

  void setConfigTable(Hashtable configTable);
  void backupAllFiles(String actionStatus);
  public String getLoginName();
  public String getLoginPwd();
  public String getRootID();
  public String getParentID();

}
